how operating system is loaded